﻿<Serializable()> _
Public Class Produto


    Private _codigo As Integer
    Public Property Codigo() As Integer
        Get
            Return _codigo
        End Get
        Set(ByVal value As Integer)
            _codigo = value
        End Set
    End Property


    Private _fornecedor As Fornecedor
    Public Property Fornecedor() As Fornecedor
        Get
            Return _fornecedor
        End Get
        Set(ByVal value As Fornecedor)
            _fornecedor = value
        End Set
    End Property




    Private _descricao As String
    Public Property Descricao() As String
        Get
            Return _descricao
        End Get
        Set(ByVal value As String)
            _descricao = value
        End Set
    End Property




    Private _valorVenda As Double
    Public Property ValorVenda() As Double
        Get
            Return _valorVenda
        End Get
        Set(ByVal value As Double)
            _valorVenda = value
        End Set
    End Property




    Private _valorCompra As Double
    Public Property ValorCompra() As Double
        Get
            Return _valorCompra
        End Get
        Set(ByVal value As Double)
            _valorCompra = value
        End Set
    End Property




    Private _grupo As Grupo
    Public Property Grupo() As Grupo
        Get
            Return _grupo
        End Get
        Set(ByVal value As Grupo)
            _grupo = value
        End Set
    End Property


    Private _marca As Marca
    Public Property Marca() As Marca
        Get
            Return _marca
        End Get
        Set(ByVal value As Marca)
            _marca = value
        End Set
    End Property

    Private _quantidade As Integer
    Public Property Quantidade() As Integer
        Get
            Return _quantidade
        End Get
        Set(ByVal value As Integer)
            _quantidade = value
        End Set
    End Property

    Private _descricaoWeb As String
    Public Property DescricaoWeb() As String
        Get
            Return _descricaoWeb
        End Get
        Set(ByVal value As String)
            _descricaoWeb = value
        End Set
    End Property

End Class
